package com.yunxi.otd.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 项目用车订单新增VO
 * </p>
 *
 * @author XUQI
 * @since 2019-07-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "OtdProjectCarOrderAddVO对象", description = "项目用车订单新增")
public class OtdProjectCarOrderSaveVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "项目车订单ID")
    private String projectCarId;

    @ApiModelProperty(value = "工厂")
    private String works;

    @ApiModelProperty(value = "项目车标记")
    private String projectCarMark;

    @ApiModelProperty(value = "产品编码")
    private String productCode;

    @ApiModelProperty(value = "配置编码（15位码）")
    private String catalogCode;

    @ApiModelProperty(value = "内饰色")
    private String colorCodeIn;

    @ApiModelProperty(value = "外饰色")
    private String colorCodeOut;

    @ApiModelProperty(value = "选装包")
    private String customPackCode;

    @JsonDeserialize(using = DateJsonDeserializer.class)
    @ApiModelProperty(value = "需求日期")
    private Date demandDate;

    @ApiModelProperty(value = "版本号")
    private Integer version;

}
